package com.zq.spring.service.impl;

/**
 * @Author: zhaoqi
 * @Date: 2020/4/24 9:30
 * @Version 1.0
 */

// 使用  @Bean形式的bean

public class BeanWayService {

    public void init(){
        System.out.println("@Bean--init-method");
    }

    public BeanWayService(){
        super();
        System.out.println("初始化构造参数-BeanWayService");
    }

    public void destory(){
        System.out.println("@Bean--destory-method");
    }


}
